# _*_ coding:utf-8 _*_
"""
:File: local_settings.py
:Author: cfp
:Date: 2025/9/9 16:06
:LastEditTime: 2025/9/9 16:06
:LastEditors: cfp
:Description: 
"""

# 开发环境配置示例
DEBUG = True

# 数据库配置
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'fireegg',
        'USER': 'fireegg',
        'PASSWORD': 'fireegg',
        'HOST': '127.0.0.1',
        'PORT': '5432'
    }
}

CACHES = {
    "default": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://localhost:6379/0",
    },
    "token": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://localhost:6379/1",
    }
}